package com.jml;

//参与方拦截器获取全局事务分组id
import com.codingapi.txlcn.tracing.http.SpringTracingApplier;
//发起方放入全局事务分组id到请求头
import feign.RequestInterceptor;
import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//派单服务
@SpringBootApplication
@MapperScan("com.jml.distribute.api.impl.mapper")
@EnableDistributedTransaction
public class AppDistribute {
    public static void main(String[] args) {
        SpringApplication.run(AppDistribute.class);
    }
}
